/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.report.withdrawcashremind.entity;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import cn.apestar.common.persistence.DataEntity;

/**
 * 提现提醒Entity
 * @author yudw
 * @version 2016-08-20
 */
public class WithdrawCashRemind extends DataEntity<WithdrawCashRemind> {

    private static final long serialVersionUID = 1L;

    private Long institutionId; // 企业ID

    private String userPhoneNo; // 用户手机号

    private String userNickName; // 用户昵称

    private String userLevel; // 用户等级

    private String userIsVip; // 用户是否VIP

    private Date startDate;

    private Date endDate;

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public WithdrawCashRemind() {
        super();
    }

    public WithdrawCashRemind(String id) {
        super(id);
    }

    public Long getInstitutionId() {
        return institutionId;
    }

    public void setInstitutionId(Long institutionId) {
        this.institutionId = institutionId;
    }

    @Length(min = 0, max = 20, message = "用户手机号长度必须介于 0 和 20 之间")
    public String getUserPhoneNo() {
        return userPhoneNo;
    }

    public void setUserPhoneNo(String userPhoneNo) {
        this.userPhoneNo = userPhoneNo;
    }

    @Length(min = 0, max = 100, message = "用户昵称长度必须介于 0 和 100 之间")
    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    @Length(min = 0, max = 11, message = "用户等级长度必须介于 0 和 11 之间")
    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel;
    }

    @Length(min = 0, max = 1, message = "用户是否VIP长度必须介于 0 和 1 之间")
    public String getUserIsVip() {
        return userIsVip;
    }

    public void setUserIsVip(String userIsVip) {
        this.userIsVip = userIsVip;
    }

}